package com.love.marriage.userCallRetrieval.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * description:  用户获取电话次数记录表类
 * author:       mybatisPlus
 * createDate: 2025-01-17 19:28:01
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user_call_retrieval_t")
@Schema(description = "用户获取电话次数记录表")
public class UserCallRetrieval extends BaseEntity<UserCallRetrieval>{

    @Schema(description = "用户ID，关联用户表", type = "Long", implementation = Long.class)
    @TableField("user_id")
    private Long userId;

    @Schema(description = "获取电话次数", type = "Integer", implementation = Integer.class)
    @TableField("retrieval_count")
    private Integer retrievalCount;

    @Schema(description = "获取时间", type = "LocalDateTime", implementation = LocalDateTime.class)
    @TableField("retrieval_time")
    private LocalDateTime retrievalTime;

    @Schema(description = "备注，例如获取电话的来源或说明", type = "String", implementation = String.class)
    @TableField("notes")
    private String notes;

}
